package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Supplier;
import cn.wolfcode.crm.query.PageResult;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface ISupplierService {

    void insert(Supplier entity);

    void delete(Long id);

    void update(Supplier entity);

    Supplier get(Long id);

    List<Supplier> list();

    /**
     * 商品分类分页查询
     * @param qo 查询条件
     * @return
     */
    PageResult query(QueryObject qo);
}
